#ifndef ERRNOEXCEPTION_HPP
#define ERRNOEXCEPTION_HPP

#include "KieperException.hpp"

namespace kieper {
    class ErrnoException : public KieperException {
        // friend std::ostream& operator<<(std::ostream& output, const ErrnoException& ErrnoException);
    public:
        ErrnoException(const char* msg, const char* file=0, unsigned int line=0);
        ~ErrnoException();
    protected:
    private:
        static const int ERRNO_MSG_BUF_SIZE = 50;
        ErrnoException& operator=(const ErrnoException& other);
        char errnoMsg_[ERRNO_MSG_BUF_SIZE];
    };
}

#endif
